3.1604 \(\int \frac{(a+\frac{b}{x})^8}{x^6} \, dx\)

Optimal. Leaf size=96 \[ -\frac{a^4 (a x+b)^9}{6435 b^5 x^9}+\frac{a^3 (a x+b)^9}{715 b^4 x^{10}}-\frac{a^2 (a x+b)^9}{143 b^3 x^{11}}+\frac{a (a x+b)^9}{39 b^2 x^{12}}-\frac{(a x+b)^9}{13 b x^{13}} \]

[Out]

-(b + a*x)^9/(13*b*x^13) + (a*(b + a*x)^9)/(39*b^2*x^12) - (a^2*(b + a*x)^9)/(143*b^3*x^11) + (a^3*(b + a*x)^9
)/(715*b^4*x^10) - (a^4*(b + a*x)^9)/(6435*b^5*x^9)

________________________________________________________________________________________

Rubi [A]  time = 0.0274715, antiderivative size = 96, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {263, 45, 37} \[ -\frac{a^4 (a x+b)^9}{6435 b^5 x^9}+\frac{a^3 (a x+b)^9}{715 b^4 x^{10}}-\frac{a^2 (a x+b)^9}{143 b^3 x^{11}}+\frac{a (a x+b)^9}{39 b^2 x^{12}}-\frac{(a x+b)^9}{13 b x^{13}} \]

Antiderivative was successfully verified.

[In]

Int[(a + b/x)^8/x^6,x]

[Out]

-(b + a*x)^9/(13*b*x^13) + (a*(b + a*x)^9)/(39*b^2*x^12) - (a^2*(b + a*x)^9)/(143*b^3*x^11) + (a^3*(b + a*x)^9
)/(715*b^4*x^10) - (a^4*(b + a*x)^9)/(6435*b^5*x^9)

Rule 263

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[x^(m + n*p)*(b + a/x^n)^p, x] /; FreeQ[{a, b, m
, n}, x] && IntegerQ[p] && NegQ[n]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*Simplify[m + n + 2])/((b*c - a*d)*(m + 1)), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rubi steps

\begin{align*} \int \frac{\left (a+\frac{b}{x}\right )^8}{x^6} \, dx &=\int \frac{(b+a x)^8}{x^{14}} \, dx\\ &=-\frac{(b+a x)^9}{13 b x^{13}}-\frac{(4 a) \int \frac{(b+a x)^8}{x^{13}} \, dx}{13 b}\\ &=-\frac{(b+a x)^9}{13 b x^{13}}+\frac{a (b+a x)^9}{39 b^2 x^{12}}+\frac{a^2 \int \frac{(b+a x)^8}{x^{12}} \, dx}{13 b^2}\\ &=-\frac{(b+a x)^9}{13 b x^{13}}+\frac{a (b+a x)^9}{39 b^2 x^{12}}-\frac{a^2 (b+a x)^9}{143 b^3 x^{11}}-\frac{\left (2 a^3\right ) \int \frac{(b+a x)^8}{x^{11}} \, dx}{143 b^3}\\ &=-\frac{(b+a x)^9}{13 b x^{13}}+\frac{a (b+a x)^9}{39 b^2 x^{12}}-\frac{a^2 (b+a x)^9}{143 b^3 x^{11}}+\frac{a^3 (b+a x)^9}{715 b^4 x^{10}}+\frac{a^4 \int \frac{(b+a x)^8}{x^{10}} \, dx}{715 b^4}\\ &=-\frac{(b+a x)^9}{13 b x^{13}}+\frac{a (b+a x)^9}{39 b^2 x^{12}}-\frac{a^2 (b+a x)^9}{143 b^3 x^{11}}+\frac{a^3 (b+a x)^9}{715 b^4 x^{10}}-\frac{a^4 (b+a x)^9}{6435 b^5 x^9}\\ \end{align*}

Mathematica [A]  time = 0.0084798, size = 104, normalized size = 1.08 \[ -\frac{4 a^6 b^2}{x^7}-\frac{7 a^5 b^3}{x^8}-\frac{70 a^4 b^4}{9 x^9}-\frac{28 a^3 b^5}{5 x^{10}}-\frac{28 a^2 b^6}{11 x^{11}}-\frac{4 a^7 b}{3 x^6}-\frac{a^8}{5 x^5}-\frac{2 a b^7}{3 x^{12}}-\frac{b^8}{13 x^{13}} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b/x)^8/x^6,x]

[Out]

-b^8/(13*x^13) - (2*a*b^7)/(3*x^12) - (28*a^2*b^6)/(11*x^11) - (28*a^3*b^5)/(5*x^10) - (70*a^4*b^4)/(9*x^9) -
(7*a^5*b^3)/x^8 - (4*a^6*b^2)/x^7 - (4*a^7*b)/(3*x^6) - a^8/(5*x^5)

________________________________________________________________________________________

Maple [A]  time = 0.007, size = 91, normalized size = 1. \begin{align*} -{\frac{{a}^{8}}{5\,{x}^{5}}}-{\frac{2\,{b}^{7}a}{3\,{x}^{12}}}-{\frac{28\,{a}^{2}{b}^{6}}{11\,{x}^{11}}}-{\frac{28\,{a}^{3}{b}^{5}}{5\,{x}^{10}}}-7\,{\frac{{a}^{5}{b}^{3}}{{x}^{8}}}-{\frac{{b}^{8}}{13\,{x}^{13}}}-{\frac{4\,{a}^{7}b}{3\,{x}^{6}}}-4\,{\frac{{a}^{6}{b}^{2}}{{x}^{7}}}-{\frac{70\,{a}^{4}{b}^{4}}{9\,{x}^{9}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b/x)^8/x^6,x)

[Out]

-1/5*a^8/x^5-2/3*b^7*a/x^12-28/11*a^2*b^6/x^11-28/5*a^3*b^5/x^10-7*a^5*b^3/x^8-1/13*b^8/x^13-4/3*a^7*b/x^6-4*a
^6*b^2/x^7-70/9*a^4*b^4/x^9

________________________________________________________________________________________

Maxima [A]  time = 0.98433, size = 122, normalized size = 1.27 \begin{align*} -\frac{1287 \, a^{8} x^{8} + 8580 \, a^{7} b x^{7} + 25740 \, a^{6} b^{2} x^{6} + 45045 \, a^{5} b^{3} x^{5} + 50050 \, a^{4} b^{4} x^{4} + 36036 \, a^{3} b^{5} x^{3} + 16380 \, a^{2} b^{6} x^{2} + 4290 \, a b^{7} x + 495 \, b^{8}}{6435 \, x^{13}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b/x)^8/x^6,x, algorithm="maxima")

[Out]

-1/6435*(1287*a^8*x^8 + 8580*a^7*b*x^7 + 25740*a^6*b^2*x^6 + 45045*a^5*b^3*x^5 + 50050*a^4*b^4*x^4 + 36036*a^3
*b^5*x^3 + 16380*a^2*b^6*x^2 + 4290*a*b^7*x + 495*b^8)/x^13

________________________________________________________________________________________

Fricas [A]  time = 1.36975, size = 231, normalized size = 2.41 \begin{align*} -\frac{1287 \, a^{8} x^{8} + 8580 \, a^{7} b x^{7} + 25740 \, a^{6} b^{2} x^{6} + 45045 \, a^{5} b^{3} x^{5} + 50050 \, a^{4} b^{4} x^{4} + 36036 \, a^{3} b^{5} x^{3} + 16380 \, a^{2} b^{6} x^{2} + 4290 \, a b^{7} x + 495 \, b^{8}}{6435 \, x^{13}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b/x)^8/x^6,x, algorithm="fricas")

[Out]

-1/6435*(1287*a^8*x^8 + 8580*a^7*b*x^7 + 25740*a^6*b^2*x^6 + 45045*a^5*b^3*x^5 + 50050*a^4*b^4*x^4 + 36036*a^3
*b^5*x^3 + 16380*a^2*b^6*x^2 + 4290*a*b^7*x + 495*b^8)/x^13

________________________________________________________________________________________

Sympy [A]  time = 0.923319, size = 97, normalized size = 1.01 \begin{align*} - \frac{1287 a^{8} x^{8} + 8580 a^{7} b x^{7} + 25740 a^{6} b^{2} x^{6} + 45045 a^{5} b^{3} x^{5} + 50050 a^{4} b^{4} x^{4} + 36036 a^{3} b^{5} x^{3} + 16380 a^{2} b^{6} x^{2} + 4290 a b^{7} x + 495 b^{8}}{6435 x^{13}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b/x)**8/x**6,x)

[Out]

-(1287*a**8*x**8 + 8580*a**7*b*x**7 + 25740*a**6*b**2*x**6 + 45045*a**5*b**3*x**5 + 50050*a**4*b**4*x**4 + 360
36*a**3*b**5*x**3 + 16380*a**2*b**6*x**2 + 4290*a*b**7*x + 495*b**8)/(6435*x**13)

________________________________________________________________________________________

Giac [A]  time = 1.0964, size = 122, normalized size = 1.27 \begin{align*} -\frac{1287 \, a^{8} x^{8} + 8580 \, a^{7} b x^{7} + 25740 \, a^{6} b^{2} x^{6} + 45045 \, a^{5} b^{3} x^{5} + 50050 \, a^{4} b^{4} x^{4} + 36036 \, a^{3} b^{5} x^{3} + 16380 \, a^{2} b^{6} x^{2} + 4290 \, a b^{7} x + 495 \, b^{8}}{6435 \, x^{13}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b/x)^8/x^6,x, algorithm="giac")

[Out]

-1/6435*(1287*a^8*x^8 + 8580*a^7*b*x^7 + 25740*a^6*b^2*x^6 + 45045*a^5*b^3*x^5 + 50050*a^4*b^4*x^4 + 36036*a^3
*b^5*x^3 + 16380*a^2*b^6*x^2 + 4290*a*b^7*x + 495*b^8)/x^13